package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-12-24
 */
@TableName("ry_bindclient")
public class Bindclient extends Model<Bindclient> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("client_id")
    private String clientId;
    @TableField("bindclient_id")
    private String bindclientId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getBindclientId() {
        return bindclientId;
    }

    public void setBindclientId(String bindclientId) {
        this.bindclientId = bindclientId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Bindclient{" +
        ", id=" + id +
        ", clientId=" + clientId +
        ", bindclientId=" + bindclientId +
        "}";
    }
}
